#!/bin/sh

(

cd ..

package=@PACKAGE_NAME@
version=@PACKAGE_VERSION@

mkdir $package-$version
cp -r server/* $package-$version

find $package-$version -name .svn |xargs rm -rf

tar czvf $package-$version.tgz $package-$version

rm -rf $package-$version

cp server/asudserver.spec .

)